package com.safewind.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.safewind.dao.AllValueDao;
import com.safewind.model.AllValue;
import com.safewind.service.IAllValueService;

@Service("allValueService")
public class AllValueServiceImpl implements IAllValueService {

	@Resource
	private AllValueDao allValueDao;

	@Override
	public void insertAllValue(AllValue allValue) {
		allValueDao.insertSelective(allValue);
	}

	@Override
	public List<AllValue> getAll() {
		return allValueDao.getAll();
	}

}
